package cn.stylefeng.guns.modular.business.frequency.orderarrive.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 订单确认到达表
 *
 * @author yujie
 * @date 2023/05/09 17:17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderArriveParam extends BaseParam {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Long id;

    /**
     * 订单id
     */
    @NotNull(message = "订单id不能为空",groups = {add.class,edit.class})
    private Long orderId;

    /**
     * 1.系统默认 2.人工确认点击
     */
    @NotNull(message = "1.系统默认 2.人工确认点击不能为空",groups = {add.class,edit.class})
    private Integer type;

    /**
     * 创建时间
     */
    private Date createTime;

}
